<?php

defined('IN_SCHOOL') or die();

/*{TranslateTagBegin}*/
session_start();

$jyvcode = core::gpc('jyvcode','P');

if(empty($jyvcode)) {
	return '请填写验证码';
}
if(!isset($_SESSION['JY_VCODE']) || $_SESSION['JY_VCODE'] != $jyvcode) {
	return '验证码错误';
}

$_SESSION['JY_VCODE'] = 0;
/*{TranslateTagEnd}*/

?>